<?php

require_once "core/application/models/mrecovery/mrecovery2.php";

class Mrecovery3 extends Mrecovery2 {

    private $_query = NULL;
    public $_fetch = array();

    protected function getQuestion($name) {
        DB::getInstance()->openConnectionToGS();
        $this->_query = "SELECT `question` FROM `account_data` WHERE `name` = '$name'";
        $this->_fetch = mysql_fetch_assoc(DB::getInstance()->sql($this->_query));
        return $this->_fetch['question'];
    }

}

?>
